From acd2560eee578d287effa29d4c0b176b6190131e Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 1 Dec 2014 20:09:44 -0600 Subject: [PATCH] Add a missing semicolon to the hello world program in the docs. Both the `index.md` and `guide.md` files show the hello world program source (generated by `cargo new`) without a semicolon (`;`) at the end of the `println!` line. The file generated by `cargo new` does and should have a semicolon. This commit brings the docs in sync with the generated code. --- src/doc/guide.md | 2 +- src/doc/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index f6c5a31b3..1c37d1eab 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -65,7 +65,7 @@ Here's what's in `src/main.rs`: ``` fn main() { - println!("Hello, world!") + println!("Hello, world!"); } ``` diff --git a/src/doc/index.md b/src/doc/index.md index 1046141eb..91bdf1e79 100644 --- a/src/doc/index.md +++ b/src/doc/index.md @@ -58,7 +58,7 @@ Here's what's in `src/main.rs`: ``` fn main() { - println!("Hello, world!") + println!("Hello, world!"); } ``` -- 2.30.2